<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core"
>
        <p:dialog 
			id="confirmarDesativacao"
			header="Desativar Usuário" 
			widgetVar="dlgConfirmarDesativacao"
			width="500"
			appendToBody="true"
			modal="true"
		>  
			<h:form id="formDesativar">
		        <p:panel>
		        	<center>Deseja realmente desativar este aluno?</center>  
		            	<div style="text-align: right;">
		            		<br/><p:separator /><br/>
			                <p:commandButton update="formPrincipal" actionListener="#{alunoBean.desativar}" value="Sim" oncomplete="dlgConfirmarDesativacao.hide()"/>
			                <p:commandButton type="button" value="Não" onclick="dlgConfirmarDesativacao.hide()"/>
		                </div>
		        </p:panel>
			</h:form>
		</p:dialog> 
</html>